package day14.Executors;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

public class Lian03 {
    public static void main(String[] args) {
        ExecutorService es = Executors.newCachedThreadPool();
        es.submit(()->{
            for (int i = 0; i < 100; i++) {
                System.out.println(Thread.currentThread().getName()+":"+i);
            }
        });
    }
}
